﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using OurSite.Business.Category;
using OurSite.Business.Event;
using OurSite.Business.Picture;


namespace OurSite.Web.Models
{
    #region Models

    public class PhotoMenuModel
    {
        [DisplayName("ByYears")]
        public IList<int> Years { get; set; }

        [DisplayName("ByRyanYears")]
        public IList<int> RyanYears { get; set; }

        [DisplayName("ByHardenYears")]
        public IList<int> HardenYears { get; set; }

        [DisplayName("ByParentCategory")]
        public IList<Category> ParentCategories { get; set; }

        [DisplayName("ByPeople")]
        public IList<People> People { get; set; }

        [DisplayName("ByRegion")]
        public IList<string> Regions { get; set; }
    }

    public class EventsModel
    {
        public IList<Event> Events { get; set; }
        public string URLPath { get; set; }
        public string Prefix
        {
            get { return ConfigurationManager.AppSettings["ImagePrefix"]; }
        }
        public int numberToGroup { get; set; }
    }

    public class EventModel
    {
        public Event Event { get; set; }

        public string Prefix
        {
            get { return ConfigurationManager.AppSettings["ImagePrefix"]; }
        }
    }
    #endregion



}
